<?php
include "commodity.php";
include "phone.php";
include "book.php";

$p=new phone();
$p->name="手机";
$p->price=3600;
$p->brand="小米";
$p->place="中国";
$p->self_information();
echo "<br>";

$b=new book();
$b->name="名侦探柯南";
$b->author="青山刚昌";
$b->press="推理";
$b->self_1();